console.log("build......")
const path = require('path');
const fs = require('fs')

let str = "";



function redDir2(dir) {
    let files = fs.readdirSync(dir);
    for (let file of files) {
        let filedir = path.join(dir, file);
        let stats = fs.statSync(filedir)
        if (stats.isDirectory()) {
            redDir2(filedir);
        } else {
            console.log(filedir)
            str += filedir + "\n";
        }
    }
}
str=str.trim();

redDir2("./dist")

fs.writeFileSync("./loginFile.txt", str)



